//
//  HUploadBaseTableViewCell.m
//  NursingManages
//
//  Created by Zhen Huang on 17/6/8.
//  Copyright © 2017年 huangzhen. All rights reserved.
//

#import "HUploadBaseTableViewCell.h"

@implementation HUploadBaseTableViewCell


- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        [self.contentView addSubview:self.code_nameLabel];
        [self.contentView addSubview:self.check_nameLabel];
        [self.contentView addSubview:self.checkDepartLabel];
        [self.contentView addSubview:self.score_label];
        [self.contentView addSubview:self.check_dateLabel];
    }
    return self;
}
- (UILabel *)code_nameLabel
{
    if (!_code_nameLabel) {
        _code_nameLabel = [[UILabel alloc]initWithFrame:CGRectMake(10, 10, ScreenWidth - 20, 30)];
        _code_nameLabel.font = [UIFont systemFontOfSize:16];
    }
    return _code_nameLabel;
}
- (UILabel *)score_label
{
    if (!_score_label) {
        _score_label = [[UILabel alloc]initWithFrame:CGRectMake( 10, self.code_nameLabel.bottom , 150, 30)];
        _score_label.font = [UIFont systemFontOfSize:14];
    }
    return _score_label;
}

- (UILabel *)checkDepartLabel
{
    if (!_checkDepartLabel) {
        _checkDepartLabel = [[UILabel alloc]initWithFrame:CGRectMake(10, self.score_label.bottom , 200, 30)];
        _checkDepartLabel.font = [UIFont systemFontOfSize:14];
    }
    return _checkDepartLabel;
}
- (UILabel *)check_nameLabel
{
    if (!_check_nameLabel) {
        _check_nameLabel = [[UILabel alloc]initWithFrame:CGRectMake(ScreenWidth - 160, self.code_nameLabel.bottom , 150, 30)];
        _check_nameLabel.font = [UIFont systemFontOfSize:14];
        _check_nameLabel.textAlignment = NSTextAlignmentRight;
    }
    return _check_nameLabel;
}

- (UILabel *)check_dateLabel
{
    if (!_check_dateLabel) {
        _check_dateLabel = [[UILabel alloc]initWithFrame:CGRectMake(ScreenWidth - 205, self.score_label.bottom , 200, 30)];
        _check_dateLabel.font = [UIFont systemFontOfSize:14];
        _check_dateLabel.textAlignment = NSTextAlignmentRight;
    }
    return _check_dateLabel;
}
- (void)awakeFromNib {
    [super awakeFromNib];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
